// pages/add/add.js
Page({
  data:{
    foot:"数据的改变"
  },
  inputchange:function(e){
    console.log(e);
    this.data.foot = e.detail.value;
    this.setData({ foot: e.detail.value})
  },
  server:function(e){
    console.log(e);
  },
  count:function(e){
    console.log(e);
  }
})